
Imports System.Diagnostics
Imports System.Reflection
Imports DotNetNuke.Services.Personalization
Imports System.ServiceModel
Imports System.Runtime.Serialization

Namespace DotNetNuke.Modules.IWebCF

    ' class that is passed in through the soap header
    <Serializable(), DataContract()> _
    Public Class IWebAuthenticationHeader

        Private _PortalID As Integer
        Private _UserID As Integer
        Private _Username As String
        Private _Password As String
        Private _Encrypted As String
        Private _WebPageCall As String
        Private _ModuleId As Integer

        <DataMember()> _
        Public Property Encrypted() As String
            Get
                Return _Encrypted
            End Get
            Set(ByVal value As String)
                _Encrypted = value
            End Set
        End Property
        <DataMember()> _
        Public Property ModuleId() As Integer
            Get
                Return _ModuleId
            End Get
            Set(ByVal value As Integer)
                _ModuleId = value
            End Set
        End Property
        <DataMember()> _
        Public Property Password() As String
            Get
                Return _Password
            End Get
            Set(ByVal value As String)
                _Password = value
            End Set
        End Property
        <DataMember()> _
        Public Property PortalID() As Integer
            Get
                Return _PortalID
            End Get
            Set(ByVal value As Integer)
                _PortalID = value
            End Set
        End Property
        <DataMember()> _
        Public Property UserID() As Integer
            Get
                Return _UserID
            End Get
            Set(ByVal value As Integer)
                _UserID = value
            End Set
        End Property
        <DataMember()> _
        Public Property Username() As String
            Get
                Return _Username
            End Get
            Set(ByVal value As String)
                _Username = value
            End Set
        End Property
        <DataMember()> _
        Public Property WebPageCall() As String
            Get
                Return _WebPageCall
            End Get
            Set(ByVal value As String)
                _WebPageCall = value
            End Set
        End Property

    End Class

End Namespace
